package com.neuedu.projectedu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.neuedu.projectedu.entity.User;

import java.util.List;

public interface UserService extends IService<User>{
    List<User> getUsers();
    boolean register(User user);
    int login(String username,String password);
    User update(User user);
    User getUser(Long id);
    boolean remove(Long id);
}
